package com.example.lottery.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 通过get set方法可以操作参数
 */
@Data
public class UserRegisterParam {
    @NotBlank(message = "用户名为空")
    private String userName;
    @NotBlank(message = "邮箱为空")
    private String email;
    @NotBlank(message = "手机号为空")
    private String phoneNumber;
    /**
     * 密码可以为空
     */
    private String password;
    @NotBlank(message = "身份为空")
    private String identity;
}
